import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/security_control_promise_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/security_control_promise_entity.g.dart';

@JsonSerializable()
class SecurityControlPromiseEntity {
	late int id = 0;
	late String path = '';
	late int uploadTime = 0;
	late String uploader = '';

	SecurityControlPromiseEntity();

	factory SecurityControlPromiseEntity.fromJson(Map<String, dynamic> json) => $SecurityControlPromiseEntityFromJson(json);

	Map<String, dynamic> toJson() => $SecurityControlPromiseEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}